<!DOCTYPE html>
<html>
<head lang="en">
  <meta charset="UTF-8">
  <title></title>
  <style>
    ul{ list-style-type: none; }
    ul li{ position: relative;}
    ul li img{ position: absolute; left:0px; top:40px; border:1px solid #cccccc;}
    ul li img{ display: none;}
    ul li.over img{ display: block;}
  </style>
</head>
<body>
<ul>
  <li><a>上海到北京5日游</a><img  src="https://ss0.bdstatic.com/5aV1bjqh_Q23odCf/static/superman/img/logo/bd_logo1_31bdc765.png"/> </li>
  <li><a>上海到北京3日游</a><img  src="https://ss0.baidu.com/73t1bjeh1BF3odCf/it/u=3510500015,164040883&fm=85&s=3E8A702363EC6F073CA9B8C60100E0A1"/> </li>
  <script src="../G.js"></script>
</ul>
</body>
</html>